
include ../../../settings.lnx

ifdef ARCHPASS
ARCH		= cd $(VERSIONDIR); find -name .svn > $(INSTALLDIR)/exclude.log; $(LINUXRAR) a -r -m5 -md4096 -s -sfx -p$(ARCHPASS) -x@$(INSTALLDIR)/exclude.log $(ARCHFILE)
POST		= rm -f $(INSTALLDIR)/exclude.log
else
ARCH		= tar --create --gzip --directory=$(VERSIONDIR) --exclude=.svn --file=$(ARCHFILE)
POST		=
endif

COMMONFILES	= demos/interruptsql demos/superstores_demo doc etc lib history.txt license.txt readme.linux.txt

release: clean
	$(ARCH) $(COMMONFILES) source/DBXInfExt.pas
	$(POST)

sources: clean
	$(ARCH) $(COMMONFILES) source
	$(POST)

clean:
	rm -f $(ARCHFILE)
